package com.summer.common;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "file")
public class FileConfig {

    /**
     * 文件系统 0:本地存储
     */
    private int fileSystem;

    /**
     * 头像文件存放路径
     */
    private String headImagePath;

    public int getFileSystem() {
        return fileSystem;
    }

    public void setFileSystem(int fileSystem) {
        this.fileSystem = fileSystem;
    }

    public String getHeadImagePath() {
        return headImagePath;
    }

    public void setHeadImagePath(String headImagePath) {
        this.headImagePath = headImagePath;
    }
}
